package de.vocabulary.shared.model;

import java.io.Serializable;

public class Vocable implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private String language1Word = "";
	private String language2Word = "";
	private String lesson = "";
	
		private String pronunciation = "";
	private int box = 0;
	private int amountRepetitions = 0;
	private int correctAnswers = 0;
	
	public Vocable() {
		// explicitly define empty constructor
	}
	
	public Vocable(String language1Word, String language2Word) {
		super();
		this.language1Word = language1Word;
		this.language2Word = language2Word;
	}

	public String getLanguage1Word() {
		return language1Word;
	}

	public void setLanguage1Word(String language1Word) {
		this.language1Word = language1Word;
	}

	public String getLanguage2Word() {
		return language2Word;
	}

	public void setLanguage2Word(String language2Word) {
		this.language2Word = language2Word;
	}
	
	public String getLesson() {
		return lesson;
	}

	public void setLesson(String lesson) {
		this.lesson = lesson;
	}

	public String getPronunciation() {
		return pronunciation;
	}

	public void setPronunciation(String pronunciation) {
		this.pronunciation = pronunciation;
	}

	public int getBox() {
		return box;
	}

	public void setBox(int box) {
		this.box = box;
	}

	public int getAmountRepetitions() {
		return amountRepetitions;
	}

	public void setAmountRepetitions(int amountRepetitions) {
		this.amountRepetitions = amountRepetitions;
	}

	public int getCorrectAnswers() {
		return correctAnswers;
	}

	public void setCorrectAnswers(int correctAnswers) {
		this.correctAnswers = correctAnswers;
	}




/*	String pronunciation = "";
	int box = 0;
	int amountRepetitions = 0;
	int correctAnswers = 0;
	String lesson = "";
	
	public String getCvsLine(){
		return lesson+","+language1Word+","+language2Word+","+pronunciation+","+box+","+amountRepetitions+","+correctAnswers+"\n";
	}
	
	public String getCvsHeadLine(){
		return "Lesson, word in Language 1, word in Language 2, pronunciation, box No., amount repetitions, correct answers\n";
	}*/
	
	public String toString(){
		return lesson+": "+language1Word+" > "+language2Word;
	}
	
}
